package com.woniu.supermarket.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.woniu.supermarket.entity.Permission;
import lombok.*;

import java.util.List;

@JsonIgnoreProperties(value = { "handler" })
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class RoleVo {
    private Long id;
    private String roleName;
    private List<Permission> permissions;
}
